package org.codeart.producer.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "producer-service")
public interface HelloApi {

    @GetMapping("/hello")
    ResponseEntity<String> hello();

}
